package com.apeli.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liming
 */
@RestController
@RequestMapping("/index")
@CrossOrigin
public class DockerController {

    @RequestMapping("visit")
    public String visit() {
        return "welcome !!!";
    }

}
